package com.shop.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.entity.dto.AdminUser.AdminUserListDto;
import com.shop.entity.pojo.AdminUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminUserMapper extends BaseMapper<AdminUser> {

    Page<AdminUser> getAllByPage(@Param("page") Page<AdminUser> page, @Param("dto") AdminUserListDto dto);
}
